package com.huak.zookeeper.connection;

import org.apache.zookeeper.AsyncCallback;

/**
 * @author liuhuan
 * @date 2018/9/16 09:52
 * @description
 */
public class CreateCallBack implements AsyncCallback.StringCallback {
    @Override
    public void processResult(int rc, String path, Object ctx, String name) {
        System.out.println("创建节点: " + path);
        System.out.println((String)ctx);
    }
}
